package com.information.manage.model.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(value="添加文件分析结果参数", description="")
public class AddAnalysisFileQuery {

    /**
     * @see com.information.manage.common.constants.ListenTypeEnum
     */
    @ApiModelProperty(value = "监听的文件类型 1咨询 2短讯  3短篇", required = true)
    private Integer listenFileTypeCode;

    /**
     * 所属分类 Id
     */
    @ApiModelProperty(value = "所属分类 Id", required = true)
    private Long classifyId;


    @ApiModelProperty(value = "title", required = true)
    private String title;

    private String transTitle;

    @ApiModelProperty(value = "publishDate", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;

    private String keyword;

    private String author;

    private String language;

    @ApiModelProperty(value = "scrapeDate", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date scrapeDate;

    private String typeTag;

    private String url;

    private String abstractStr;

    private String transAbstract;

    // 富文本
    private String fwb;

}
